
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class ShoppingRequest extends HttpServlet
{
	public void doGet(HttpServletRequest request,HttpServletResponse response)throws ServletException, IOException
	{

		PrintWriter out=response.getWriter();
		out.println("<html><head><title>Sports Cart</title></head><body><form method=\"POST\" action=\"http://localhost:8080/TestProject/AddCart\""
		+"<table cellpadding=2 ><tr><th><p><font size=\"5\">G3 Shopping Cart</font></p></th></tr>" +
		"<tr><td colspan =4><p><font size=\"4\">Sports :</font></p></td></tr>" +
				"<tr ><td >&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td rowspan=3><img src=\"SPORTS.gif\" width=100 height =100></td></tr>" +
				"<tr><td> 1: Complete Cricket kit&nbsp;($100)</td>&nbsp;&nbsp;&nbsp;<td><input type=\"checkbox\" name=\"T1\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T2\" size=\"7\"></td></tr>"
				+"<tr><td> 2: Complete Soccer kit ($100)</td>&nbsp;&nbsp;&nbsp;&nbsp;<td><input type=\"checkbox\" name=\"T3\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T4\" size=\"7\"></td></tr>" 
		+"<tr><td colspan = 4><font size=\"4\">Perfumes :</font></td></tr>" +
		"<tr ><td >&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td rowspan=3><img src=\"Perfume.jpg\" width=100 height =100></td></tr>" +
				"<tr><td> 1: Blue Jeans($50)</td><td><input type=\"checkbox\" name=\"T5\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T6\" size=\"7\"></td></tr>" +
				"<tr><td> 2: Polo Sport($80)</td><td><input type=\"checkbox\" name=\"T7\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T8\" size=\"7\"></td></tr>" +
		"<tr><td colspan = 4><font size=\"4\">Cigarettes :</font></td></tr>" +
		"<tr ><td >&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td rowspan=3><img src=\"cigs.jpg\" width=100 height =100></td></tr>" +
				"<tr><td> 1: Marlboro($10)</td><td><input type=\"checkbox\" name=\"T9\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T10\" size=\"7\"></td></tr>" +
				"<tr><td> 2: Dunhill($10)</td><td><input type=\"checkbox\" name=\"T11\" value=\"ON\"></td><td>Quantity <input type=\"text\" name=\"T12\" size=\"7\"></td></tr>" +
				"<tr><td colspan = 3><blockquote>  <blockquote><blockquote><p><input type=\"submit\" value=\"Add to Cart\" name=\"B3\"></p>    </blockquote></blockquote></blockquote></td></tr></table></form></body></html>");
	}
}
